﻿using CefSharp.WinForms;
using SmartForm;
using SmartForm.NetJs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace SmartlForm.NetJs
{
    public partial class BowContainer : ChromeJs
    {
        public BowContainer(ChromiumWebBrowser originalBrowser, Form mainForm) : base(originalBrowser, mainForm)
        {

        }

        public string loadVersion()
        {
            return "v" + BaseForm.major + "." + BaseForm.minor + "." + BaseForm.patch;
        }
         
        public long getAccountId()
        {
            return account.id;
        }

    }
}
